package cn.dust.design.pattern.structural.proxy;

import cn.dust.design.pattern.structural.proxy.staticproxy.OrderServiceStaticProxy;

/**
 * @Author: dust
 * @Date: 2019/11/27 16:01
 */
public class Test {
    public static void main(String[] args) {
        Order order=new Order();
        order.setUserId(1);
        OrderServiceStaticProxy orderServiceStaticProxy=new OrderServiceStaticProxy();
        orderServiceStaticProxy.saveOrder(order);
    }
}
